<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改考勤设置</title>
<link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-2.2.3.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/bootstrap/js/bootstrap.min.js"></script>
<style type="text/css">
.myDiv {
    width: 400px;
    height: 350px;
    border: 1px solid #5e5e5e;
    top: 20%;
    left: 40%;
    margin-top: -100px;
    margin-left: -150px;
    position: absolute;
    border-radius: 5px;
}
</style>
</head>
<body>
     <div class="myDiv">
        <div class="row-fluid">
            <form class="form-horizontal" method="post"  action="${pageContext.request.contextPath}/attendanceSetting/update.action" style="padding: 15px;">
                <input type="hidden" name="id" value="${as.id}" /> <h3>修改考勤设置：</h3>
                <div class="form-group">
                  <label class="col-sm-4 control-label" for="officeHours">上班时间:</label>
                    <div class="col-sm-7">
                        <input type="text" class="form-control" name="officeHours" value="${as.officeHours}">
                    </div>
                </div>
                 <div class="form-group">
                    <label class="col-sm-4 control-label" for="startTime">午休开始时间:</label> 
                    <div class="col-sm-7">
                        <input type="text" class="form-control" name="startTime" value="${as.startTime}">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-4 control-label" for="overTime">午休结束时间:</label> 
                    <div class="col-sm-7">
                        <input type="text" class="form-control" name="overTime" value="${as.overTime}">
                    </div>
                </div>
                 <div class="form-group">
                    <label class="col-sm-4 control-label" for="closingTime">下班时间:</label> 
                    <div class="col-sm-7">
                        <input type="text" class="form-control" name="closingTime" value="${as.closingTime}" >
                    </div>
                </div>
              <div class="row" style="float:right;">
                    <div class="col-sm-12">
                        <button type="submit" class="btn btn-primary" >提交</button>
                    </div>
                </div> 
            </form>
            <p style="color: red;text-align: center;"></p>
        </div>
    </div>
</body>
</html>